package top.rufous.hrm.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import top.rufous.hrm.domain.LoginUser;
import top.rufous.hrm.util.AjaxResult;

@FeignClient(value = "hrm-auth",fallbackFactory = LoginUserFallbackFactory.class)
public interface LoginUserFeign {
    @PostMapping("/loginUser/entering")
     AjaxResult entering(@RequestBody LoginUser loginUser);
}
